﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-03-29
修改:
修改时间: 
功能: 转季补货系数实体
 ******************************************************/

using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VerticaAPI.model
{
    public class DWChangeSeasonRateModel
    {
        /// <summary>
        /// 转季补货系数实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-29
        public class CreatModel : NeceModel
        {
            
            [ParamDescription("公司代码")]
            public string ExtrSource { get; set; }
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? EtlDate { get; set; }
        }

        /// <summary>
        /// 转季补货系数主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-29
        public class NeceModel
        {
            [ParamDescription("年")]
            public long? YearNo { get; set; }
            [ParamDescription("零售分部ID")]
            public string OperationAreaID { get; set; }
            [ParamDescription("转季日期")]
            public string ChangeDate { get; set; }
            [ParamDescription("后七天开始日期")]
            public string NextBeginDate { get; set; }
            [ParamDescription("后七天结束日期")]
            public string NextEndDate { get; set; }
            [ParamDescription("前七天开始日期")]
            public string PastBeginDate { get; set; }
            [ParamDescription("前七天结束日期")]
            public string PastEndDate { get; set; }
            [ParamDescription("后七天总目标")]
            public decimal? NextTargetAmount { get; set; }
            [ParamDescription("前七天总目标")]
            public decimal? PastTargetAmount { get; set; }
            [ParamDescription("计算转季系数")]
            public decimal? CalcRate { get; set; }
            [ParamDescription("确认转季系数")]
            public decimal? CheckCalcRate { get; set; }
        }

        /// <summary>
        /// 转季补货系数修改实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-29
        public class ModifyModel
        {
            public IList<NeceModel> list { get; set; }
            [ParamDescription("零售分部")]
            public string OperationAreaName { get; set; }
        }
    }

    public class OdsErpSDBasShopTargetPersonnelDateModel
    {
        /// <summary>
        /// 业绩目标表主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-30
        public class NeceModel
        {
            //[ParamDescription("店铺")]
            //public string ShopID { get; set; }
            //[ParamDescription("年份")]
            //public long? YearNo { get; set; }
            //[ParamDescription("月份")]
            //public long? MonthNo { get; set; }
            [ParamDescription("目标时间")]
            public DateTime? TargetDate { get; set; }
            [ParamDescription("目标金额")]
            public decimal? TargetMoney { get; set; }
        }
    }
}
